package com.xcjh.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class LikePageVo {
    //喜欢或者收藏判断该视频是否存在
    public static final String RESOURCES_EXISTENCE_YES = "yes";
    public static final String RESOURCES_EXISTENCE_NO = "no";
    private Long id;
    private Integer likes;
    private String videoCover;
    private String existence;
    private VideoRecommendVo videoRecommendVo;
    private String headPortrait;
    private Long userId;

    public LikePageVo(Long id, Integer likes, String videoCover, String existence) {
        this.id = id;
        this.likes = likes;
        this.videoCover = videoCover;
        this.existence = existence;
    }

    public LikePageVo(Long id, Integer likes, String videoCover, String existence, VideoRecommendVo videoRecommendVo) {
        this.id = id;
        this.likes = likes;
        this.videoCover = videoCover;
        this.existence = existence;
        this.videoRecommendVo = videoRecommendVo;
    }
}
